Kinetis SDK Demo Applications User Guide  1.0.0-beta
Freescale Semiconductor, Inc.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Hello World User Guide

User guide on how to use the hello_world application. More...

Hello World User Guide

Getting started

The Hello World project is designed to work with the Tower System or in a stand alone setting. If you are using the Tower System or a Freedom board in a stand alone setup, follow the OpenSDA directions. Otherwise, if you are using the Tower System and a serial card, follow the Serial Card instructions.

OpenSDA

Download the program to a target board. Connect the USB cable to the PC host and open a serial terminal configured as described in the "Terminal Configuration". When successfully connected, press the reset button on your development board. "Hello World!" should be displayed on the terminal. You may type characters into the terminal. The typed characters are echoed back to the terminal.

Serial Card

Connect a Serial card to a PC (you may need a serial to USB converter for this) and open a serial terminal configured as described in the "Terminal Configuration". When successfully connected, download the program to target board. "Hello World!" should be displayed on the terminal. You may type characters into the terminal and the typed characters are echoed back to the terminal.

Terminal Configuration

The Hello World project is, by default, configured to this terminal configuration:
  • 115200 baud rate
  • 8 data bits
  • No parity
  • One stop bit
  • No flow control

Communication Interface Settings:

The Hello World is configured by default to use these port pins for the platforms:
  • TWR-K64F120M(OpenSDA) UART1 TX: PTC4 RX: PTC3.
  • FRDM-K64F120M(OpenSDA) UART0 TX: PTB17 RX: PTB16
If you need to change the default port pins, modify the configure_uart1_pin_mux function to enable the desired UART port pins.